package com.swt.testdemo.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swt.testdemo.entity.SysCaptchaEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author BleethNie
 *
 * @date 2020-06-16 17:58:09
 */
@Mapper
@Repository
public interface SysCaptchaDao extends BaseMapper<SysCaptchaEntity> {

    void deleteHistoryCaptcha(@Param("createdTime") String createdTime);

    SysCaptchaEntity queryEntityByUuid(@Param("uuid") String uuid);

    void useEntity(@Param("uuid") String uuid);

}
